package sctu.edu.java.year2016.team02.wanggaowen.day20160525.chapter7_2;

/**
 * Created by 15c on 2016/5/25.
 */
public class Nature {
    protected  float Long;
    protected  float Wide;

    public Nature(float a,float b){
        this.Long=a;
        this.Wide=b;
    }

    public float getArea(){
        float area=this.Long*this.Wide;
        return area;
    }

}
